package com.coconut.domain.activity.service.product;

import com.coconut.domain.activity.model.entity.SkuProductEntity;
import com.coconut.domain.activity.adapter.repository.IActivityRepository;
import com.coconut.domain.activity.service.IRaffleActivitySkuProductService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author YaoBoning
 * @Date 2024/10/29 17:01
 * @Description sku商品服务
 */
@Service
public class RaffleActivitySkuProductService implements IRaffleActivitySkuProductService {

    @Resource
    private IActivityRepository repository;

    @Override
    public List<SkuProductEntity> querySkuProductEntityListByActivityId(Long activityId) {
        return repository.querySkuProductEntityListByActivityId(activityId);
    }

}


